package vip.hamlin.net.bean;

import org.springframework.context.annotation.Bean;
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;

/**
 * // 必须使用这一段代码，否则properties文件中的值无法注入
 * Created by SunShao on 2016/6/1.
 */
public class BaseBean {
    @Bean
    public static PropertySourcesPlaceholderConfigurer propertyConfigInDev() {
        return new PropertySourcesPlaceholderConfigurer();
    }
}

